﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200001D RID: 29
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptMissionEventScRsp : IMessage<AcceptMissionEventScRsp>, IMessage, IEquatable<AcceptMissionEventScRsp>, IDeepCloneable<AcceptMissionEventScRsp>, IBufferMessage
	{
		// Token: 0x1700004A RID: 74
		// (get) Token: 0x06000121 RID: 289 RVA: 0x000048C1 File Offset: 0x00002AC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptMissionEventScRsp> Parser
		{
			get
			{
				return AcceptMissionEventScRsp._parser;
			}
		}

		// Token: 0x1700004B RID: 75
		// (get) Token: 0x06000122 RID: 290 RVA: 0x000048C8 File Offset: 0x00002AC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptMissionEventScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700004C RID: 76
		// (get) Token: 0x06000123 RID: 291 RVA: 0x000048DA File Offset: 0x00002ADA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptMissionEventScRsp.Descriptor;
			}
		}

		// Token: 0x06000124 RID: 292 RVA: 0x000048E1 File Offset: 0x00002AE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventScRsp()
		{
		}

		// Token: 0x06000125 RID: 293 RVA: 0x000048EC File Offset: 0x00002AEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventScRsp(AcceptMissionEventScRsp other) : this()
		{
			this.fCHMCGHIFKC_ = ((other.fCHMCGHIFKC_ != null) ? other.fCHMCGHIFKC_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000126 RID: 294 RVA: 0x00004938 File Offset: 0x00002B38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMissionEventScRsp Clone()
		{
			return new AcceptMissionEventScRsp(this);
		}

		// Token: 0x1700004D RID: 77
		// (get) Token: 0x06000127 RID: 295 RVA: 0x00004940 File Offset: 0x00002B40
		// (set) Token: 0x06000128 RID: 296 RVA: 0x00004948 File Offset: 0x00002B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public Mission FCHMCGHIFKC
		{
			get
			{
				return this.fCHMCGHIFKC_;
			}
			set
			{
				this.fCHMCGHIFKC_ = value;
			}
		}

		// Token: 0x1700004E RID: 78
		// (get) Token: 0x06000129 RID: 297 RVA: 0x00004951 File Offset: 0x00002B51
		// (set) Token: 0x0600012A RID: 298 RVA: 0x00004959 File Offset: 0x00002B59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600012B RID: 299 RVA: 0x00004962 File Offset: 0x00002B62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptMissionEventScRsp);
		}

		// Token: 0x0600012C RID: 300 RVA: 0x00004970 File Offset: 0x00002B70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptMissionEventScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.FCHMCGHIFKC, other.FCHMCGHIFKC) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600012D RID: 301 RVA: 0x000049C0 File Offset: 0x00002BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.fCHMCGHIFKC_ != null)
			{
				num ^= this.FCHMCGHIFKC.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600012E RID: 302 RVA: 0x00004A15 File Offset: 0x00002C15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600012F RID: 303 RVA: 0x00004A1D File Offset: 0x00002C1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000130 RID: 304 RVA: 0x00004A28 File Offset: 0x00002C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.fCHMCGHIFKC_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.FCHMCGHIFKC);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000131 RID: 305 RVA: 0x00004A84 File Offset: 0x00002C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.fCHMCGHIFKC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FCHMCGHIFKC);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000132 RID: 306 RVA: 0x00004ADC File Offset: 0x00002CDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptMissionEventScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.fCHMCGHIFKC_ != null)
			{
				if (this.fCHMCGHIFKC_ == null)
				{
					this.FCHMCGHIFKC = new Mission();
				}
				this.FCHMCGHIFKC.MergeFrom(other.FCHMCGHIFKC);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000133 RID: 307 RVA: 0x00004B44 File Offset: 0x00002D44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000134 RID: 308 RVA: 0x00004B50 File Offset: 0x00002D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.fCHMCGHIFKC_ == null)
					{
						this.FCHMCGHIFKC = new Mission();
					}
					input.ReadMessage(this.FCHMCGHIFKC);
				}
			}
		}

		// Token: 0x04000052 RID: 82
		private static readonly MessageParser<AcceptMissionEventScRsp> _parser = new MessageParser<AcceptMissionEventScRsp>(() => new AcceptMissionEventScRsp());

		// Token: 0x04000053 RID: 83
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000054 RID: 84
		public const int FCHMCGHIFKCFieldNumber = 9;

		// Token: 0x04000055 RID: 85
		private Mission fCHMCGHIFKC_;

		// Token: 0x04000056 RID: 86
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04000057 RID: 87
		private uint retcode_;
	}
}
